import AtomIntl from '@/utils/intl';
import React from 'react';
import { Box } from '@alicloudfe/components';
import styles from './index.module.css';

const Empty = ({ content = AtomIntl.get('components_Empty_index_暂无数据') }) => {
  return (
    <div className={styles.empty}>
      <Box direction={'column'} spacing={0} justify={'center'} align={'center'}>
        <span>{content}</span>
      </Box>
    </div>
  );
};

export default Empty;
